/**
 * 验证验证码
 */
function verfiyCode(id, verifyCode, callBack){
	var url = $.ctx + "/rest/checkVerifyCode";
	$.post(url, {id : id, verifyCode : verifyCode}, function (isOk){
		if(callBack){
			callBack(isOk);
		}
	});
}

/**
 * 刷新验证码
 */
function refVerfiyCode(id){
	var url = $.ctx + "/rest/refVerifyCode?id=" + id;
	document.getElementById(id).src = url;
}